package com.support.android.myapp3.fragment;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

/**
 * 订阅
 * @author ansen
 * @create time 2016-04-19
 */
public class SelectedFragment extends Fragment {
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
//        View rootView = LayoutInflater.from(getActivity()).inflate(R.layout.fragment_content, null);
//        TextView tvContent = (TextView) rootView.findViewById(R.id.tv_content);
        TextView tv = new TextView(getActivity());
        tv.setGravity(Gravity.CENTER);
        tv.setText("精选");
        return tv;
    }
}

